<style type="text/css">
    .matrix-flow-builder {
        font-weight: bold; 
        font-size: 20px;
    }
    .matrix-flow-builder-red {
        color: red;
    }
    .matrix-flow-builder-green {
        color: green;
    }
    .matrix-flow-div {
        border: solid 1px #bbb;
        width:100%;
    }
</style>
<div class="col-sm-12">
    <div class="matrix-flow-builder matrix-flow-builder-green" ng-style="{color: ($ctrl.isOnline ? 'red' : '')}" ng-if="$ctrl.isShowVersion">{{$ctrl.versionName}}</div>
    <div id="{{$ctrl.diagramId}}" class="matrix-flow-div"></div>
</div>